package com.ruoyi.vehicleDispatch.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 派单间隔规则对象 dispatch_interval_rule
 * 
 * @author niuyi
 * @date 2025-08-19
 */
public class DispatchIntervalRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Integer ruleId;

    /** 最大秒数 */
    @Excel(name = "最大秒数")
    private Integer minInterval;

    /** 最小秒数 */
    @Excel(name = "最小秒数")
    private Integer maxInterval;

    /** 申请时间 */
    @Excel(name = "申请时间")
    private String applyTime;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否活动 */
    @Excel(name = "是否活动")
    private Integer isActive;

    public void setRuleId(Integer ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Integer getRuleId() 
    {
        return ruleId;
    }

    public void setMinInterval(Integer minInterval) 
    {
        this.minInterval = minInterval;
    }

    public Integer getMinInterval() 
    {
        return minInterval;
    }

    public void setMaxInterval(Integer maxInterval) 
    {
        this.maxInterval = maxInterval;
    }

    public Integer getMaxInterval() 
    {
        return maxInterval;
    }

    public void setApplyTime(String applyTime) 
    {
        this.applyTime = applyTime;
    }

    public String getApplyTime() 
    {
        return applyTime;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("minInterval", getMinInterval())
            .append("maxInterval", getMaxInterval())
            .append("applyTime", getApplyTime())
            .append("description", getDescription())
            .append("isActive", getIsActive())
            .toString();
    }
}
